#!/bin/bash

## @Version	1.0
## @Author	Fabio Grucci (alias Phoenix)
## @License	LGPL

##Variable where is the return value of the last invoked function.
declare RETURN_VALUE;

#retrieve the return value of the last invoked function. 
function getLastReturnValue() {
	echo "$RETURN_VALUE";
}

#set thee last return value.
function setLastReturnValue() {
	RETURN_VALUE="$@";
}